require.config({
	baseUrl : "static",
	shim : {
		'backbone' : {
			deps : [ 'underscore', 'jquery' ],
			exports : 'Backbone'
		},
		'marionette' : {
			deps : [ 'backbone','underscore', 'jquery' ],
			exports : 'Marionette'
		},
		
		'underscore' : {	
			exports : '_'
		},
		
		'underscoreBase' : {
			deps : [ 'underscore' ],
			exports : '_'
		},

		'bootstrap' : {
			deps : [ 'jquery' ],
			exports : 'Bootstrap'
		},
	},
	paths : {
		app : "js/app/app",
		vent : "js/app/vent",
		reqRes : "js/app/reqRes",
		collections : "js/app/collections",
		models : "js/app/models",
		views : "js/app/views",
		jquery : "lib/backbone.marionette/jquery",
		backbone : "lib/backbone.marionette/backbone",
		marionette : "lib/backbone.marionette/backbone.marionette.min",
		bootstrap: "lib/bootstrap-3.1.1-dist/js/bootstrap.min",
		underscoreBase : "lib/backbone.marionette/underscore-base",
		underscore : "lib/backbone.marionette/underscore"
	}
});

require([ 'app'], function(KeyChainApp) {

	KeyChainApp.start();
});
